ALL EDITORS V450 - BG2 NO LONGER FREEZES WHEN YOU QUIT
(V449 base: TLK all languages. V448 account setup features unchanged.)

INSTALL (HOST PC)
  Close every BG2 window, run SETUP_IN_GAME_ACCOUNTS.bat (or UI Interface
  Editor > IN-GAME ACCOUNTS / SETUP > INSTALL / REPAIR V450). The fix is in
  the account router and exit watcher, so setup must run once.

WHY IT FROZE
  When you quit, the account system writes a logout message into the
  account's settings file (<profile>\<account>.lua) and BG2 then rewrites that
  same file while closing. The account router was reading every account's
  .lua file 10-20 times per second, all the time. On Windows a normal read
  stops other programs from REPLACING or DELETING the file until the read
  ends, so BG2 could get stuck on its own settings file: frozen on exit.

WHAT V450 CHANGES (router + exit watcher only, nothing in the game files)
  - Reads are fully shared: BG2 can write, replace or delete the file at any
    moment, even in the middle of a read.
  - A file is read only when its date or size changed (checking that does
    not open the file): almost all reads are gone.
  - After a change, the router waits until the file has been quiet for a
    quarter of a second before reading it, so it never reads while BG2 is
    still writing (logins and logouts take 0.25 s longer, nothing else).

IF IT STILL FREEZES
  Windows > Event Viewer (Win+R, eventvwr) > Windows Logs > Application:
  the "Application Hang" / "Application Error" entry for BaldurII...exe at
  that time (faulting module, exception code, fault offset). Also try:
  joined players quit first, host last; and one window only.

CHECKS (offline)
  python -m unittest test_v450_no_freeze_on_exit -v
NOT TESTED HERE: Windows file sharing itself (Linux test machine).
